package net.alan.modules.service.impl;

import net.alan.modules.repository.SettingRepository;
import net.alan.modules.service.ISettingService;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Service;

/**
 * Author 李岩飞
 * Email eliyanfei@126.com
 * 2017/11/21
 */
@Service
public class SettingServiceImpl extends BaseServiceImpl implements ISettingService {
    private static final Logger logger = LoggerFactory.getLogger(SettingServiceImpl.class);
    @Autowired
    private SettingRepository settingRepository;

    @Override
    public JpaRepository getJpaRepository(Class<?> cla) {
        return settingRepository;
    }

}
